from django.conf import settings
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^accounts/', include('apps.accounts.urls')),
    url(r'^$', include('apps.main.urls')),
    url(r'^miscellaneous/', include('apps.misc.urls')),
    url(r'^data/', include('apps.data.urls')),
    url(r'^utils/', include('apps.utils.urls')),
)

if False and settings.DEBUG:
    import debug_toolbar
    urlpatterns += patterns('',
        url(r'^__debug__/', include(debug_toolbar.urls)),
    )
